<?$globalCnt = 0;?>
<div class="content">
	<div class="center" style="padding: 2px; border: 1px solid #f0bc61; background: #fff;">
		<a href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=West+Town+Chamber+of+Commerce,+Chicago,+IL,+United+States&sll=41.852685,-87.661028&sspn=0.036058,0.077162&ie=UTF8&hq=West+Town+Chamber+of+Commerce,&hnear=Chicago,+IL&ll=41.897358,-87.676134&spn=0.034435,0.109863&z=14" target="_blank">
			<img src="/images/main/map.png" width="680" height="253" alt="" />
		</a>
	</div>
	<br />
	<?=$communityText['text1']?>
	<br />
	<?foreach($categories as $category):?>
	<br clear="all" />
	<h3 style="color: #de4b32;"><b><?=$category['name']?></b></h3>
		<?if (isset($items[$category['id']]) ? count($items[$category['id']]) : false):?>
	<table>
		<tr>
			<td width="50%">
			<?$cnt = 0?>
			<?foreach ($items[$category['id']] as $item):?>
				<div  class="itemContent">
					<b><?=$item['name']?></b>
					<?if ($item['address'] != ''):?>
						<br /><?=$item['address']?>
					<?endif?>
					<?if ($item['phone'] != ''):?>
						<br /><?=$item['phone']?>
					<?endif?>
						<?if ($item['email'] != ''):?>
						<br /><a href="mailto:<?=$item['email']?>"><?=$item['email']?></a>
					<?endif?>
						<?if ($item['url'] != ''):?>
						<br /><?=Html::anchor($item['url'])?>
					<?endif?>
					<?if ($item['text1'] != ''):?>
						<br /><?=$item['text1']?>
					<?endif?>
				</div>
			<div class="clear"></div>
			<?$cnt++?>
			<?$globalCnt++;?>
			<? if(ceil(count($items[$category['id']]) / 2) == $cnt): ?>
			</td><td>
			<?endif?>
			<?endforeach?>
			</td>
		</tr>
	</table>
		<?else:?>
	<p>No items in this category</p>
		<?endif?>
	<?endforeach?>
	<br clear="all" />
	<p style="color:#d09022; font-size:14px; float:right; padding-right:20px;">
		<a href="#top" id="bottomLink">Top</a>
	</p>
</div>